Existing file protection approaches and the applications are suitable for the users who own one single device but not the users with multiple devices. A novel mechanism is proposed that provides an efficient and fast cryptographic-based protection approach for files in an appointed directory called safe directory. The highlights are its ability to protect sensitive files automatically in a short time and the support for secure file sharing across devices. All operations in the safe directory are monitored in real time and the files in the directory are protected automatically. Experimental results show that proposed mechanism performs well in performance.